﻿using System;
using System.Collections.Generic;
using System.Text;

using System.IO;

namespace WOWMultiPlay
{
    public static class Helper_Other
    {
        public static void CreateRunningProfileTempFile()
        {
            StreamWriter SW = File.CreateText(Path.Combine(Setting_Global.AppPath, Setting_Global.Instance.ToString() + "." + Setting_Global.RunningProfileTempFileSuffix));
            SW.Write(Setting_Global.Profile.ProfileName);
            SW.Close();
        }

        public static void DeleteRunningProfileTempFile()
        {
            File.Delete(Path.Combine(Setting_Global.AppPath, Setting_Global.Instance.ToString() + "." + Setting_Global.RunningProfileTempFileSuffix));
        }
    }
}